package com.example.xm.mapper;

import com.example.xm.Entity.Dd;
import com.example.xm.Entity.Gwc;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GwcMapper {
    /**获取商品信息*/
    public List<Gwc> getAllGwc(Gwc gwc);

    /**删除*/
    public int del(String id);

    boolean Btndelete(@Param("ids") Integer ids[]);//批量删除

    /**修改*/
    public int UpdateGwc(Gwc gwc);

    /**根据id获取订单详细*/
    public Gwc getDd(String id);

}
